<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>lumina AI - 让学习 AI 变简单</title>
    <meta http-equiv="refresh" content="0; url=frontend/index.html">
    <script>
        // 立即重定向到前端首页
        window.location.href = 'frontend/index.html';
    </script>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background: linear-gradient(135deg, #FFE45C 0%, #C4B5FD 100%);
        }
        .loading {
            text-align: center;
            color: #333;
        }
        .spinner {
            border: 3px solid #f3f3f3;
            border-top: 3px solid #FFE45C;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .logo {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 10px;
            background: linear-gradient(45deg, #333, #666);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
    </style>
</head>
<body>
    <div class="loading">
        <div class="logo">lumina AI</div>
        <div class="spinner"></div>
        <p>正在跳转到首页...</p>
        <p style="font-size: 0.9rem; color: #666; margin-top: 10px;">
            如果没有自动跳转，请 <a href="frontend/index.html" style="color: #FFE45C; text-decoration: none;">点击这里</a>
        </p>
    </div>
</body>
</html>